#include "Instruction.h"


Instruction::Instruction(char type, float value)
{
	this->setType(type);
	this->setValue(value);
	this->setDuration( 0 );
}

Instruction::Instruction(char type, float value, int duration) {
	this->setType(type);
	this->setValue(value);
    this->setDuration( duration );
}

Instruction::Instruction(char type, float value, int duration, float realValue)
{
    this->setType(type);
    this->setValue(value);
    this->setDuration( duration );
    this->setRealValue( realValue );
}

Instruction::Instruction( const Instruction &temp )
{
	this->setType( temp.m_type );
	this->setValue( temp.m_value );
	this->setDuration( temp.m_duration );
}

Instruction::~Instruction(void)
{
}
